@layout("/common/_container.html"){
<link rel="stylesheet" href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/reservationWeekViews.css?v=20200718">
<div style="display: none">
    <input type="hidden" id="tcId" value="${id}">
    <input type="hidden" id="tcName" value="${tcName}">
    <input type="hidden" id="isDorj" value="st">
    <input type="hidden" id="timeValue" value="${time}">
</div>
<div class="ibox float-e-margins ">
    <div class="row">
        <div id='wrap'>
            <div class="ibox-content record_box">
                <div style="position: absolute;right: 67px;top:12px;">
                    <button class="btn" onclick="returnView()" type="button" style="border: 1px solid #cccccc;background: white;outline:none;padding: 3px 12px;">返回诊所视图</button>
                    <button class="btn" onclick="btnRefetchEvents()" type="button" style="border: 1px solid #cccccc;background: white;outline:none;padding: 3px 12px;"><span class="glyphicon glyphicon-refresh" style="vertical-align: middle;margin-bottom: 4px;"></span></button>
                </div>
                <div id='calendar'></div>
            </div>
            <div id="statePrompting" class="clearfix">
                <div style="float: right;width:470px;display: flex">
                    <div><span class="state" style="background: #4099ff"></span>预约</div>
                    <div><span class="state" style="background: #017cdc"></span>确认</div>
                    <div><span class="state" style="background: #10428b"></span>挂号</div>
                    <div><span class="state" style="background: #ffba40"></span>治疗中</div>
                    <div><span class="state" style="background: #2dc87e"></span>治疗完成</div>
                    <div><span class="state" style="background: #61b740"></span>离开</div>
                    <div><span class="state" style="background: gray"></span>失约</div>
                </div>
            </div>
        </div>
    </div>
</div>
<link rel="stylesheet" href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/fullcalendar.css?v=20200718">
<link href='https://pynnn.oss-cn-hangzhou.aliyuncs.com/fullcalendar.print.min.css?v=20200718' rel='stylesheet' media='print'/>
<script src="${ctxPath}/static/modular/fullcalendar/lib/moment.min.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/fullcalendar/lib/jquery.min.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/fullcalendar/lib/jquery-ui.min.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/fullcalendar/fullcalendar.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/fullcalendar/scheduler.min.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/fullcalendar/locale/zh-cn.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/arrival/customer/customer_reservationViews.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/arrival/customer/reservation_week_RMtcviews.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/arrival/customer/foregroundSearchContent.js?v=20200718"></script>
@}